<template>
	<view class="app-title" :style="{'margin-left':left+'rpx','margin-top':top+'rpx'}">
		<view class="block" ></view>
		<view class="title">{{title}}</view>
	</view>
</template>

<script>
	export default {
		components: {


		},
		props: {
			title: {
				type: String,
				default: ""
			},
			
			left:{
				type: [Number,String],
				default: ""
			},
			
			top:{
				type:  [Number,String],
				default: ""
			},

		},
		data() {
			return {

			}
		},


		onReady() {

		},
		methods: {

		}
	}
</script>

<style lang="scss" scoped>
	.app-title {
		display: flex;
		height: 70rpx;
		align-items: center;

		.block {
			width: 12rpx;
			height: 40rpx;
			background: $uni-color-main;
			border-radius: 9rpx;
		}

		.title {
			margin-left:14rpx;
			font-size: 36rpx;
			color: $uni-color-title;
		}
	}
</style>